@extends('default.layouts.adminPublic')
@section('title', '修改订单')
@section('headcss')
    @parent
    <link rel="stylesheet" href="{{asset('/default/css/admin/orderList.css')}}">
    @endsection
    @section('content')
    <!--导航开始-->
    <div class="crumb_warp">
        <i class="fa fa-home"></i> <a href="{{url('admin/order_List')}}">订单列表</a> &raquo; 订单修改
    </div>
    <!--导航结束-->
    <!--结果集标题与导航组件 开始-->
    <div class="con">
        <div class="conMain">
            <div class="manage"><h1>修改订单</h1></div>
            <div class="conInfo">
                <div class="conAddList">
                    <form action="{{ route("admin.company_order.update",$MyOrder->id) }}" method="post" name="contractForm" id="contractForm">
                        {{csrf_field()}}
                        <input type="hidden" name="_method" value="put">
                        <dl>
                            <dt>套餐名称：</dt>
                            <dd>{{ $MyOrder->vip_name }}</dd>
                        </dl>
                        <dl>
                            <dt><i class="require">*</i>订单状态：</dt>
                            <dd>
                                <select name="stats" id="stats" style="width:160px;">
                                    <option value="">请选择</option>
                                    <option value="2" {{ $MyOrder->stats == 2 ? 'selected' : '' }}>已支付</option>
                                    <option value="1" {{ $MyOrder->stats == 1 ? 'selected' : '' }}>已取消</option>
                                    <option value="0" {{ $MyOrder->stats == 0 ? 'selected' : '' }}>未支付</option>
                                </select>
                            </dd>
                        </dl>

                        <dl>
                            <dt>定单金额：</dt>
                            <dd><input type="text" class="inpText" style="width:140px;" value="{{$MyOrder->money}}" name="money" id="money">
                                @if(!empty($errors->first('money')))<em class="err">{{ $errors->first('money') }}</em>@endif
                            </dd>
                        </dl>

                        <dl>
                            <dt></dt>
                            <dd>
                                <input type="submit" class="sub" value="修改合同">
                                <input type="button" class="sub but" onclick="history.go(-1)" value="返回">
                            </dd>
                        </dl>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!--结果集标题与导航组件 结束-->
@endsection

@section('footerjs')
    @parent
    <script>


    </script>
@endsection

